package com.key.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.key.modules.cache.MybatisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.springframework.stereotype.Repository;

/**
 * @Author：朕
 * @Package：com.key.modules.mapper
 * @Project：logistics_system
 * @name：FirstPageMapper
 * @Date：2023/3/23 20:17
 * @Filename：FirstPageMapper
 */
@Repository
@CacheNamespace(implementation = MybatisCache.class, eviction = MybatisCache.class)
public interface FirstPageMapper {

    //查询今日订单总数
    int findIndentQuantityByToday();

    //查询运单总额
    String findWaybillMoneyByToday();

    //查询今日支出总额
    String findPayMoneyByToday();

    //本周订单数量
    int findIndentQuantityByWeek();

    //本月订单数量
    int findIndentQuantityByMonth();

    //查询今日车次总数
    int findVehicleNumberTimeByDay();

    //本周车次数量
    int findVehicleNumberTimeByWeek();

    //本月车次数量
    int findVehicleNumberTimeByMonth();

}
